package com.fp.system.expression;

import java.util.List;

/**
 * Created by haibiao.zhang on 16/12/23.
 */
public class WeekCronExpression extends AbstractCronExpression {

    private Boolean isLast = false;//是否是最后一个周几

    private String lastWeek;//最后一个周几

    private Boolean isOrderWeek = false;//是否是第几个周几

    private List<String> orderWeekList;//第几个周几数据列表

    private Boolean isRandom = false;//是否是随机

    public Boolean getLast() {
        return isLast;
    }

    public void setLast(Boolean last) {
        isLast = last;
    }

    public String getLastWeek() {
        return lastWeek;
    }

    public void setLastWeek(String lastWeek) {
        this.lastWeek = lastWeek;
    }

    public Boolean getOrderWeek() {
        return isOrderWeek;
    }

    public void setOrderWeek(Boolean orderWeek) {
        isOrderWeek = orderWeek;
    }

    public List<String> getOrderWeekList() {
        return orderWeekList;
    }

    public void setOrderWeekList(List<String> orderWeekList) {
        this.orderWeekList = orderWeekList;
    }

    public Boolean getRandom() {
        return isRandom;
    }

    public void setRandom(Boolean random) {
        isRandom = random;
    }
}
